package team.tunan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 进货表
 * </p>
 *
 * @author sqx
 * @since 2023-12-24
 */
@Getter
@Setter
public class Stockin implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单Id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 产品Id
     */
    private Integer stockId;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 用户Id
     */
    private Integer employeeId;

    /**
     * 供应商Id
     */
    private Integer supplierId;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


}
